package carltechnology.com.mahjonggame.mode;

import carltechnology.com.mahjonggame.mode.impl.MahjongPerGameMode;

/**
 * Created by WZTCM on 2016/6/22.
 * 主要用于组合信息，反应当局信息
 */
public class PerDetailGame {
    private MahjongPerGameMode mahjongPerGameMode;
    private int nCount;
    private int index;

    private PerDetailGame(MahjongPerGameMode mahjongPerGameMode,int index) {
        this.mahjongPerGameMode = mahjongPerGameMode;
        //index 用于指明在perid下当局为第几局
        this.index = index;
    }

    public int getnCount() {
        return nCount;
    }

    public MahjongPerGameMode getMahjongPerGameMode() {
        return mahjongPerGameMode;
    }

    public int getIndex() {
        return index;
    }

    public int increase(){
        nCount++;
        return nCount;
    }
}
